 //
// Created by youkn on 25-4-17.
//

#ifndef TASKSTATUS_H
#define TASKSTATUS_H
#include "ExecuteThread.h"


class TaskStatus {
public:
    enum class Status {
        START,
        RUNNING,
        FINISH,

    };
    void changeStatus() {

    }
    virtual void doStartAction();
    virtual void doFinishAction();
    virtual boolean checkIsRunStatus();
    virtual boolean checkIsFinishStatus();
    virtual boolean checkIsStartStatus();

private:
    Status currentStatus = Status::START;
    Status prevStatus = Status::START;
    Status nextStatus = Status::FINISH;
};



#endif //TASKSTATUS_H
